import request from '@/utils/request'
import { transFormValue } from '@/utils/tools'

//证书列表
export function certificateGetList(data) {
  return request({
    url: '/certificate/getList' + transFormValue(data),
    method: 'post'
  })
}

//创建证书
export function certificateCreate(data) {
    return request({
      url: '/certificate/create' + transFormValue(data),
      method: 'post'
    })
}

//更新证书
export function certificateUpdate(data) {
    return request({
      url: '/certificate/update' + transFormValue(data),
      method: 'post'
    })
}

//删除证书
export function certificateDelete(data) {
    return request({
      url: '/certificate/delete' + transFormValue(data),
      method: 'post'
    })
}




